package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.GoodsOrderRefundDAO;
import top.zywork.dos.GoodsOrderRefundDO;
import top.zywork.dto.GoodsOrderRefundDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.GoodsOrderRefundService;

import javax.annotation.PostConstruct;

/**
 * GoodsOrderRefundServiceImpl服务接口实现类<br/>
 *
 * 创建于2020-04-01<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
@Service(value = "goodsOrderRefundService")
public class GoodsOrderRefundServiceImpl extends AbstractBaseService implements GoodsOrderRefundService {

    private GoodsOrderRefundDAO goodsOrderRefundDAO;

    @Autowired
    public void setGoodsOrderRefundDAO(GoodsOrderRefundDAO goodsOrderRefundDAO) {
        super.setBaseDAO(goodsOrderRefundDAO);
        this.goodsOrderRefundDAO = goodsOrderRefundDAO;
    }

    @PostConstruct
    public void init() {
        super.init(GoodsOrderRefundDO.class, GoodsOrderRefundDTO.class);
    }
}